package com.material.vtool.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="fileserver")
@Component
public interface FileFeignClient {

    @PostMapping("/fileOss/updateFile")
    String updateFile(@RequestParam("ossKey") String ossKey, @RequestParam("ossValue") String ossValue);

}
